package com.woniu.smart.mapper;

import com.woniu.smart.dto.ContractInformationDTO;
import com.woniu.smart.dto.EnterpricesDTO;
import com.woniu.smart.entity.Staffs;

import java.util.List;

/**
* @author wangheng
* @description 针对表【staffs(企业员工表)】的数据库操作Mapper
* @createDate 2022-10-19 19:23:47
* @Entity com.woniu.smart.entity.Staffs
*/
public interface StaffsMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Staffs record);

    int insertSelective(Staffs record);


    int insertSelectives(EnterpricesDTO record);


    Staffs selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Staffs record);

    int updateByPrimaryKey(Staffs record);

    //根据集合删除人员表信息
    int  deleteByStaffsPrimaryKeyList(List list);

    List<Staffs>   selectStaffsAll();

    //根据合同信息新增企业人员表信息
    int insertSelectivesByContract(ContractInformationDTO contractInformationDTO);
}
